package com.alinesno.cloud.base.logger.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * <p>
 * 日志类型
 * </p>
 *
 * @author WeiXiaoJin
 * @since 2020-01-26 09:30:11
 */
@Entity
@Table(name="log_record")
public class LogRecordEntity extends BaseWatcherEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 记录渠道
     */
	@Column(name="record_channel")
	private String recordChannel;
    /**
     * 详细信息
     */
	@Column(name="record_msg")
	private String recordMsg;
    /**
     * 请求参数
     */
	@Column(name="record_params")
	private String recordParams;
    /**
     * 记录类型
     */
	@Column(name="record_type")
	private String recordType;
    /**
     * 操作用户
     */
	@Column(name="record_user")
	private String recordUser;
	@Column(name="record_user_name")
	private String recordUserName;


	public String getRecordChannel() {
		return recordChannel;
	}

	public void setRecordChannel(String recordChannel) {
		this.recordChannel = recordChannel;
	}

	public String getRecordMsg() {
		return recordMsg;
	}

	public void setRecordMsg(String recordMsg) {
		this.recordMsg = recordMsg;
	}

	public String getRecordParams() {
		return recordParams;
	}

	public void setRecordParams(String recordParams) {
		this.recordParams = recordParams;
	}

	public String getRecordType() {
		return recordType;
	}

	public void setRecordType(String recordType) {
		this.recordType = recordType;
	}

	public String getRecordUser() {
		return recordUser;
	}

	public void setRecordUser(String recordUser) {
		this.recordUser = recordUser;
	}

	public String getRecordUserName() {
		return recordUserName;
	}

	public void setRecordUserName(String recordUserName) {
		this.recordUserName = recordUserName;
	}


	@Override
	public String toString() {
		return "LogRecordEntity{" +
			"recordChannel=" + recordChannel +
			", recordMsg=" + recordMsg +
			", recordParams=" + recordParams +
			", recordType=" + recordType +
			", recordUser=" + recordUser +
			", recordUserName=" + recordUserName +
			"}";
	}
}
